package com.danbay.cloud.timedtask;

import com.danbay.framework.db.config.EnableDruid;
import com.danbay.framework.db.config.EnableMybatisPlus;
import com.danbay.framework.redis.config.EnableRedis;
import com.danbay.framework.springnc.EnableNoController;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.data.redis.repository.configuration.EnableRedisRepositories;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author SJG
 *         2017/12/22.
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableScheduling
@EnableRedis
@EnableDruid
@EnableMybatisPlus
@MapperScan("com.danbay.cloud.timedtask.mapper")
@EnableNoController
public class TimedTaskApplication {
    public static void main(String[] args) {
        SpringApplication.run(TimedTaskApplication.class, args);
    }
}
